package com.gitee.l0km.codegen.generic;

import org.apache.commons.cli.Option;

import com.gitee.l0km.codegen.base.generator.GeneratorOptions;

public class GenericInterfaceOptions extends GeneratorOptions{
	private final static GenericInterfaceOptions instance = new GenericInterfaceOptions();

	/**
	 * 
	 */
	protected GenericInterfaceOptions() {
		super();
		options.addOption(Option.builder(INTERFACE_CLASS_OPTION).longOpt(INTERFACE_CLASS_OPTION_LONG)
				.desc(INTERFACE_CLASS_OPTION_DESC).numberOfArgs(1).type(Class.class).required().build());
		options.addOption(Option.builder(REFERENCE_CLASS_OPTION).longOpt(REFERENCE_CLASS_OPTION_LONG)
				.desc(REFERENCE_CLASS_OPTION_DESC).numberOfArgs(1).type(Class.class).required().build());
		options.addOption(Option.builder(SHELL_INTERFACE_OPTION).longOpt(SHELL_INTERFACE_OPTION_LONG)
				.desc(SHELL_INTERFACE_OPTION_DESC).numberOfArgs(1).type(Class.class).required().build());
	}

	/**
	 * @return instance
	 */
	public static GenericInterfaceOptions getInstance() {
		return instance;
	}


}
